Straightening Spaghetti-Code with Refactoring?

نویسنده

  • Markus Pizka
چکیده

Changes to software systems often entail a loss of quality, especially if they have to be accomplished under pressure of time. Long-term software projects must counter this phenomenon one way or the other to preserve long-term maintainability. This paper presents the results of a case study trying to improve an extensive low-quality code base by object-oriented and tool-supported refactoring. To obtain practically relevant experiences this case study was conducted within an on-going commercial software project. The existing code base was first assessed using metrics as well as subjective judgment and later-on refactored according to the findings of the assessment. By this, we evaluated the practical applicability of several metrics and refactoring tools. The results of this experiment indicate that tool support is immature and the impact of refactoring is limited if the code base has gone astray for a longer period of time.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Improving multi-objective code-smells correction using development history

One of the widely used techniques to improve the quality of software systems is refactoring. Software refactoring improves the internal structure of the system while preserving its external behavior. These two concerns drive the existing approaches to refactoring automation. However, recent studies demonstrated that these concerns are not enough to produce correct and consistent refactoring sol...

متن کامل

MORE: A multi-objective refactoring recommendation approach to introducing design patterns and fixing code smells

Refactoring is widely recognized as a crucial technique applied when evolving object-oriented software systems. If applied well, refactoring can improve different aspects of software quality including readability, maintainability and extendibility. However, despite its importance and benefits, recent studies report that automated refactoring tools are underused much of the time by software deve...

متن کامل

Impacts and Detection of Design Smells Impacts and Detection of Design Smells

Changes are continuously made in the source code to take into account the needs of the customers and fix the faults. Continuous change can lead to antipatterns and code smells, collectively called “design smells” to occur in the source code. Design smells are poor solutions to recurring design or implementation problems, typically in object-oriented development. During comprehension and changes...

متن کامل

eAppendix 1: Lasagna plots: A saucy alternative to spaghetti plots

Longitudinal repeated-measures data have often been visualized with spaghetti plots for continuous outcomes. For large datasets, the use of spaghetti plots often leads to the over-plotting and consequential obscuring of trends in the data. This obscuring of trends is primarily due to overlapping of trajectories. Here, we suggest a framework called lasagna plotting that constrains the subject-sp...

متن کامل

The Von Neumann Syndrome

Because of high energy consumption our computer-based infrastructure may become unaffordable without reinventing the entire computing discipline, also due to cope with the manycore programming crisis. The paper highlights facts, trends, and a roadmap to by-pass this crisis and to reach new horizons. The term von Neumann syndrome has been coined by C. V. Ramamoorthy in reply to my talk at San Di...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2004